package com.wl.wuliu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wl.wuliu.entity.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: gutaozhen
 * @Date: 2024/11/15
 */
@Mapper
public interface TruckMapper extends BaseMapper<Truck> {

    /**
     * 列表查询
     * @param queryEntity
     * @return
     */
    List<Truck> findList(QueryEntity queryEntity);

    /**
     * 查询发车数量
     * @param
     * @return
     */
    List<StatisticsResult> statisticsCarNumber(@Param("startTime") String startTime, @Param("endTime") String endTime);

}
